
#import <UIKit/UIKit.h>

#import "Logger.h"

#import "AppDelegate.h"

int main(int argc, char *argv[]) 
{    
    try 
    {    
        NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
            
        int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
        
        [pool release];
        
        return retVal;
    }
    catch (...)
    {
        Logger::DebugLog( "An error occured during execution. Application terminated." );
        
        return -1;
    }
}
